package com.example.logisticsingle.Mapper;

import com.example.logisticsingle.model.UserRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface UserRoleMapper {
    int insert(UserRole record);

    int insertSelective(UserRole record);

    List<String> queryRoles(@Param("userId") String userId);
}
